x86 hvm mce: Support HVM Guest virtual MCA handling.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Jun 2009 14:40:39 +0000 (15:40 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 30 Jun 2009 14:40:39 +0000 (15:40 +0100)
commitdb49191f3e52f9283133f32f28bb234ce3069b34
treeb4ccc9bd5f080fbe062da27ae596c5a70de3844f
parent5a76d5de5c207eaff96e5a1600abd57233efd99e
x86 hvm mce: Support HVM Guest virtual MCA handling.

When MCE# happens, if the error has been contained/recovered by XEN
and it impacts one guest Domain(DOM0/HVM Guest/PV Guest), we will
inject the corresponding vMCE# into the impacted Domain. Guest OS will
go on its own recovery job if it has MCA handler.

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/mcheck/mctelem.c
xen/arch/x86/cpu/mcheck/mctelem.h
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/irq.c
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/hvm.h